package com.tsunami.authority.entity.auth;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tsunami.base.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @Classname Application
 * @Description TODO
 * @Date 2022-03-09 11:27
 * @Created by lx
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("tnm_auth_application")
@ApiModel(value="Application", description="应用")
public class Application extends Entity<Long> {

    @ApiModelProperty(value = "应用名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "应用编码")
    @TableField(value = "code")
    private String code;

    @ApiModelProperty(value = "应用描述")
    @TableField(value = "describe_")
    private String describe;

}
